package cn.itcast.service.cargo;

import cn.itcast.domain.cargo.FactoryProduct;
import cn.itcast.domain.cargo.FactoryProductExample;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface FactoryProductService {

    public PageInfo findAll(int pageNum, int pageSize);

    public void save(FactoryProduct factoryProduct);


    public void delete(String id);

    FactoryProduct findById(String id);

    void update(FactoryProduct factoryProduct);

    List<FactoryProduct> findAll(FactoryProductExample factoryProductExample);
}
